// 自动生成模板JudgmentReason
package flaud

import (
	"github.com/flipped-aurora/gin-vue-admin/server/global"
)

// 裁判理由管理 结构体  JudgmentReason
type JudgmentReason struct {
	global.GVA_MODEL
	ReasonContent    *string `json:"reasonContent" form:"reasonContent" gorm:"column:reason_content;comment:;type:text;" binding:"required"` //理由内容
	DefendantName    *string `json:"defendantName" form:"defendantName" gorm:"column:defendant_name;comment:;" binding:"required"`           //被告人
	CrimeDescription *string `json:"crimeDescription" form:"crimeDescription" gorm:"column:crime_description;comment:;" binding:"required"`  //犯罪描述
	Sentence         *string `json:"sentence" form:"sentence" gorm:"column:sentence;comment:;" binding:"required"`                           //判决
	DefenseOpinion   *string `json:"defenseOpinion" form:"defenseOpinion" gorm:"column:defense_opinion;comment:;" binding:"required"`        //辩护意见
	Verification     *string `json:"verification" form:"verification" gorm:"column:verification;comment:;" binding:"required"`               //核实情况
}

// TableName 裁判理由管理 JudgmentReason自定义表名 judgment_reason
func (JudgmentReason) TableName() string {
	return "judgment_reason"
}
